package model;

import java.io.File;
import java.util.Observer;

import model.events.AnnotationAddedEvent;
import model.events.AnnotationRemovedEvent;
import model.events.BookmarkToggleEvent;
import model.events.RentalAddedEvent;
import model.events.RentalRemovedEvent;
import model.events.ShelfAddedEvent;
import model.events.ShelfRemovedEvent;
import model.lendables.Lendable;
import model.lendables.Library;
import model.rentals.BookRental;
import model.rentals.Page;
import model.rentals.Rental;
import model.rentals.RentalFactory;
import model.shelves.NormalShelf;
import model.shelves.Shelf;
import model.shelves.Shelves;
import model.shelves.SmartShelf;
import model.shelves.criteria.RecentlyAddedCriterium;


/**
 * @author fmartins
 *
 *	The main class of the application that is responsible for
 *	starting up the application.
 */
public class LEI {

	private ShelvesFacade shelveshandler;
	public LEI() {
		
		shelveshandler=	new ShelvesFacade(new NormalShelf("ola"));
		
		
		
		
		
		
		
		//new ShelfAddedEvent(shelfName);
		
	
		
	//	new BookmarkToggleEvent(emedium, pageNum);
		
		
		//new Page(pageNum);
		
		//new BookRental(book);
		
		//new SmartShelf(name, myRentals, RecentlyAddedCriterium.class);
		
		//new Shelves (new NormalShelf(null));
		
		//new Library();
		
		//new RentalFactory();
		
	//	new Rental(new Lendable (
		//		(EMediumType) new EMediumPropertiesData().getAttribute(EMediumAttribute.MEDIUM_TYPE), 
			//	new EMediumPropertiesData()));
		
		
		
	}
	
	public ShelvesFacade getShelveshandler() {
		return shelveshandler;
	}
}
